<?php 

    $admin_nav_def = $this->get_admin_nav();

    echo $this->get_tag('div',array("class"=>"introduction"));	
        
        foreach( $login_session['admin_panel_tabs'] as $key => $val)
        {
            // Featch admin link information 
            $arr_root = $admin_nav_def[$val]['child'];

            if(!empty($arr_root))
            {
                foreach( $arr_root as $key1 => $val1)
                {
                    echo $this->get_tag("div",array("class" =>"p_ul"));
                        $icon_path = '/images/admin/' . $val1['title'] . '.jpg';
                        if ( !file_exists($this->basedir("$icon_path")) )
                        {
                            $icon_path = '/images/admin/info.jpg';
                        }
                        echo $this->get_tag("div", array("class" =>"img"),App::load("Helper/Html")->imgTag($this->baseurl($icon_path)));
                        echo $this->get_tag("span",array("class" =>"text"));
                            echo $this->get_tag("strong",NULL,$val1['title']);
                            foreach($val1['items'] as $key2 => $val2)
                            {
                                if( $key2 < 3 )
                                {
                                    echo App::load("Helper/Html")->linkTag($this->baseurl($val2['link']),$val2['title']);
                                }                                
                            }
                        echo $this->get_tag('/span');	
                    echo $this->get_tag('/div');	
                } 
            }
        }
    echo $this->get_tag('/div');
?>